<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head th:replace="_fragments :: head(~{::title})">
    <meta charset="UTF-8">
    <title>Volcreate - 标签</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css">
    <link rel="stylesheet" href="../static/css/mine.css">
</head>
<body>

<!--导航-->
<nav th:replace="_fragments :: menu(4)" class="ui inverted attached segment m-padded-tb-mini m-shadow-small"> <!--tb : top and bottom-->
    <div class="ui container">
        <div class="ui inverted secondary stackable menu">
            <h2 class="ui teal header item">Volcreate</h2>
            <!--icon的地址-->
            <!--https://semantic-ui.com/elements/icon.html#interfaces-->
            <a href="index.html" class="m-item item m-mobile-hide"><i class="home icon"></i>首页</a>
            <a href="category.html" class="m-item item m-mobile-hide"><i class="idea icon"></i>博客筛选</a>
            <a href="blogs.html" class="m-item item m-mobile-hide"><i class="blogger icon"></i>博客</a>
            <a href="archive.html" class="m-item item m-mobile-hide"><i class="clone icon"></i>归档</a>
            <a href="more.html" class="m-item item m-mobile-hide"><i class="bars icon"></i>更多</a>
            <a href="about.html" class="m-item item m-mobile-hide"><i class="info icon"></i>关于我</a>

            <div class="right m-item item m-mobile-hide">
                <div class="ui inverted transparent m-padded-tb-small input icon">
                    <input type="text" placeholder="Search....">
                    <i class="search link icon"></i>
                </div>
            </div>

        </div>
    </div>
    <a href="#" class="ui menu toggle black icon button m-right-top m-mobile-show">
        <i class="sidebar icon"></i>
    </a>
</nav>






<!--中间内容-->
<div class="m-container-small m-padded-tb-big">
    <div class="ui container">

        <!--top bar-->
        <div class="ui top teal attached segment">
            <div class="ui middle aligned two column grid">
                <div class="left aligned column">
                    <h3 class="ui teal header">归档</h3>
                </div>
                <div class="right aligned column">
                    共 <h3 class="ui orange header m-inline-block m-text-thin" th:text="${blogCount}">14</h3> 篇
                </div>
            </div>
        </div>

        <th:block th:each="item : ${archiveMap}">
            <h2 class="ui center aligned header" th:text="${item.key}">2020</h2>
            <div class="ui fluid vertical menu">

                <a href="#" th:href="@{/blog/{id}(id=${blog.id})}" target="_blank" class="item" th:each="blog : ${item.value}">
                    <span>
                        <i class="teal circle icon"></i><span th:text="${blog.title}">Linux</span>
                        <div class="ui basic left pointing label m-padded-tb-mini" th:text="${#dates.format(blog.gmtModified,'MM-dd')}">8月18</div>
                    </span>
                    <div class="ui red basic left pointing label m-padded-tb-mini" th:text="${blog.flag}">原创</div>
                </a>

                <!--/*-->
                <a href="#" target="_blank" class="item">
                    <span>
                        <i class="teal circle icon"></i>Linux
                        <div class="ui teal basic left pointing label m-padded-tb-mini">8月18</div>
                    </span>
                    <div class="ui red basic left pointing label m-padded-tb-mini">原创</div>
                </a>
                <!--*/-->

            </div>
        </th:block>


    </div>
</div>



<!--底部footer-->
<footer th:replace="_fragments :: footer"  class="ui inverted vertical segment m-padded-tb-massive">
    <div class="ui center aligned container">
        <div class="ui inverted divided stackable grid">

            <div class="five wide column">
                <div class="ui list">
                    <div class="item">
                        <img src="../static/images/bk1.jpeg" class="ui rounded image" style="width: 140px" alt=""/>
                    </div>
                </div>
            </div>

            <div class="six wide column">
                <h4 class="ui inverted header m-text-thin m-text-spaced">最新博客</h4>
                <div class="ui inverted link list">
                    <a href="#" class="item">hello 大家好我是你们的____</a>
                    <a href="#" class="item">说到____相信大家并不陌生</a>
                    <a href="#" class="item">近日一位外国小伙又整了一个____新活</a>
                </div>
            </div>

            <div class="five wide column">
                <h4 class="ui inverted header m-text-thin m-text-spaced">简介</h4>
                <!--  版本号  -->
                <p class="m-opacity-mini">Version 0.0.1</p>
                <!--  -->
                <p class="inverted m-opacity-mini"> create the value of life </p>
            </div>

        </div>
        <div class="ui inverted section divider">️</div>
        <p class="m-text-thin m-text-spaced m-opacity-mini m-opacity-tiny"> Copyright © 2020 - 2021 Volcreate Designed by zxc </p>
    </div>
</footer>

<!--注意，顺序不能反,否则一些js无法实现-->
<!----------------JS---------------->
<!--/*/<th:block th:replace="_fragments :: script" >/*/-->
<script src="https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js" ></script>
<script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js"></script>
<script src="../static/js/mine.js"></script>
<!--/*/</th:block>/*/-->

<script>
</script>
<!----------------JS---------------->
</body>
</html>